package com.yequan.redis;

public class Article {

    /**
     * 文章标题
     */
    private String title;
    /**
     * 作者或发布人
     */
    private String publisher;

    /**
     * 文章链接
     */
    private String link;

    /**
     * 发布时间
     */
    private long time;

    /**
     * 票数
     */
    private int votes;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public int getVotes() {
        return votes;
    }

    public void setVotes(int votes) {
        this.votes = votes;
    }
}
